package com.yjck.ijpay.pojo;

/**
 * 
 * @ClassName: Constant
 * @Description: 基类
 * @author chencl
 * @date 2021年3月18日 下午3:29:46
 */
public class Constant {

	public static final String	callbackParam	= "callback";

	public static final int		REDIS_INDEX_0	= 0;

	// 通用的消息
	public abstract class CommonMessage {
		public static final String	SUCCESS_MESSAGE		= "请求数据成功!";
		public static final String	ERROR_MESSAGE		= "请求数据出错!!";
		public static final String	PARAM_ERROR_MESSAGE	= "请求参数传递错误!!";
	}

	// 通用的状态码
	public abstract class CommonCode {
		public static final String	SUCCESS_CODE		= "1";	// 获取数据成功状态码
		public static final String	ERROR_CODE			= "0";	// 获取数据出错状态码
		public static final String	PARAM_ERROR_CODE	= "0";	// 参数传递错误状态码
	}

	public static final String	COMMON_ON			= "1";
	public static final String	COMMON_UN			= "0";

	public static final int		COMMON_YES			= 1;
	public static final int		COMMON_NO			= 0;

	public static final double	DEFAULT_AMT_PERSON	= 1500d;
	public static final double	DEFAULT_MIN_PRICE	= 800d;
	public static final double	DEFAULT_MAX_PRICE	= 2000d;

}
